/**
 * Created by Administrator on 2015/7/10.
 */
var express = require('express');
var app = express();
var port = 8084;

app.use('/public', express.static('public'));

app.get('/', function (req, res) {
    res.sendFile(__dirname+'/index.html');
});

app.get('/index', function (req, res) {
    res.sendFile(__dirname+'/index.html');
});


app.listen(port, function(){
    console.log('Server is listening on port: '+port);
});